package com.ruoyi.project.module.response.domain;

import java.io.Serializable;

/**
 * @ClassName ResponseParam
 * @Description TODO: 返回值
 * @Author Rick
 * @Date 2018/10/15 10:28
 * @Vesion 1.0.0
 */
public class ResponseParam implements Serializable {

    private static final long serialVersionUID = 7881602088237175289L;

    /** 参数ID */
    private Long responseId;
    /** 参数唯一编号 */
    private String responseCode;
    /** 父级参数唯一编号 */
    private String parentResponseCode;
    /** 项目ID */
    private Long apiProjectId;
    /** 祖级列表 */
    private String ancestors;
    /** 参数字段 */
    private String paramName;
    /** 参数描述 */
    private String paramDesc;
    /** 参数类型0字符串1数字2数组3对象 */
    private Integer paramType;
    /** 默认值 */
    private String defaultValue;
    /** 参考值 */
    private String paramMock;
    /** 排序 */
    private Integer sort;
    /** 是否一定返回0否1是 */
    private Integer isRequired;
    private int count;

    public ResponseParam() {
        super();
    }

    public ResponseParam(int count) {
        this.count = count;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Long getResponseId() {
        return responseId;
    }

    public void setResponseId(Long responseId) {
        this.responseId = responseId;
    }

    public Long getApiProjectId() {
        return apiProjectId;
    }

    public void setApiProjectId(Long apiProjectId) {
        this.apiProjectId = apiProjectId;
    }

    public String getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(String responseCode) {
        this.responseCode = responseCode;
    }

    public String getParentResponseCode() {
        return parentResponseCode;
    }

    public void setParentResponseCode(String parentResponseCode) {
        this.parentResponseCode = parentResponseCode;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public String getParamDesc() {
        return paramDesc;
    }

    public void setParamDesc(String paramDesc) {
        this.paramDesc = paramDesc;
    }

    public Integer getParamType() {
        return paramType;
    }

    public void setParamType(Integer paramType) {
        this.paramType = paramType;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public String getParamMock() {
        return paramMock;
    }

    public void setParamMock(String paramMock) {
        this.paramMock = paramMock;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getIsRequired() {
        return isRequired;
    }

    public void setIsRequired(Integer isRequired) {
        this.isRequired = isRequired;
    }
}
